<?php
/*******************************************************************
 *[TTTuangou] (C)2005 - 2010 Cenwor Inc.
 *
 * This is NOT a freeware, use is subject to license terms
 *
 * @Filename data.mod.php $
 *
 * @Author http://www.tttuangou.net $
 *
 * @Date 2011-01-26 04:25:51 $
 *******************************************************************/ 
 


class ModuleObject extends MasterObject
{
	var $Config = array();
	var $ProductLogic = null;
	function ModuleObject(& $config)
	{
		$this->MasterObject($config);
		Load::logic('product');
		$this->ProductLogic = new ProductLogic();
		$this->Execute();
	}
	function Execute()
	{
		if ('js' == $this->Code)
		{
			$this->JsResponse();
		}
	}
	function JsResponse()
	{
		$product = $this->ProductLogic->productNow();				include($this->TemplateHandler->Template('tttuangou_data_show_js'));
	}
}
?>